local M = {}

local options = {
  capabilities = require('cmp_nvim_lsp').default_capabilities(vim.lsp.protocol.make_client_capabilities()),
  lsp_flags = {
    debounce_text_changes = 150,
  },
  settings = {
    css = {
      validate = true,
    },
    less = {
      validate = true,
    },
    scss = {
      validate = true,
    },
  },
}

M.setup = function(server)
  server.setup(options)
end

return M
